package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.Sound;

import java.util.List;

/**
 * @author zwy
 * 桃花传音接口
 */
public interface SoundApi {

    /**
     * 功能描述: saveSound   保存声音
     * @param sound
     * @Return: {@link String}
     * @throws:
     * @Author: zwy
     * @Date: 2020/12/26 3:05
     */
    String saveSound(Sound sound);

    /**
     * 功能描述: receiveSound   接收声音
     *
     * @param userId
     * @Return: {@link List< Sound>}
     * @throws:
     * @Author: zwy
     * @Date: 2020/12/23 10:47
     */
    List<Sound> receiveSound(Long userId);
}
